#ifndef REGPOLYHEDRA
#define REGPOLYHEDRA

#define _USE_MATH_DEFINES
#include <math.h>
#include <iostream>
#include "Region.h"
using namespace std;

class RegPolytope : public Region
{
public:
	RegPolytope();
	RegPolytope(int faceSides, int facesPVertex, double crad = 1);
	
	//Elements of a Sclafli symbol
	unsigned int faceSides;
	unsigned int facesPerVertex;

	//Circumradius
	double circumradius;
	
	//Geometry functions
	double getApothemLength();
	double getEdgeLength();
	double getFaceArea();

	bool pointInside(double *position,double error = 0.01);
};

#endif